package android.longs.study.sign.servlert;

import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import android.longs.study.base.HomeServlet;

@WebServlet("/getnet/time")
public class GetNetTimeServlert extends HomeServlet {

    @Override
    public void doRequestFunction(HttpServletRequest request,
	    HttpServletResponse response) {
	long currentTimeMillis = System.currentTimeMillis();
	
	try {
	    response.getWriter().write(currentTimeMillis+"");
	} catch (Exception e) {
	    // TODO: handle exception
	}

    }

}
